<!DOCTYPE html><%@ page pageEncoding="UTF-8"%><%@ include file="/include/commons.jsp"%>
<html>
	<head>
	<head>
		<meta charset="UTF-8">
		<title>log list page</title>
		<link rel="stylesheet" href="${ctx }/css/style.css">
		<script src="${ctx }/js/jquery-1.10.0.min.js"></script>
		<script src="${ctx }/js/table.js"></script>
		<script src="${ctx }/js/delete.js"></script>
	</head>
	<body>
		<h1>Log List Page</h1>
		<hr>
		<table>
			<tr>
				<th>INDEX</th>
				<th>OPERATION</th>
				<th>TIME</th>
				<th>DETAIL</th>
				<th>ADMIN</th>
				<th colspan="2">OPERATIONS</th>
			</tr>
			<c:forEach var="log" items="${sessionScope.list }" varStatus="vs">
			<tr>
				<td>${vs.count }</td>
				<td>${log.operation }</td>
				<td>${log.time }</td>
				<td>${log.detail }</td>
				<td>${log.admin }</td>
				<td><a href="${ctx }/log_search?log.id=${log.id }">EDIT</a></td>
				<td><a class="delete" href="${ctx }/log_remove?log.id=${log.id }">DELETE</a></td>
			</tr>
			</c:forEach>
		</table>
	</body>
</html>